package fr.sharpe.app.earthvisualizationproject.controller;

import com.mycila.event.api.Dispatcher;
import com.mycila.event.api.Event;
import com.mycila.event.api.annotation.Subscribe;

import fr.sharpe.app.earthvisualizationproject.event.AddMarkerPointsEvent;

public class PersistenceController {

private Dispatcher dispatcher;
	
	public PersistenceController(Dispatcher dispatcherIn)
	{
		this.dispatcher = dispatcherIn;
	}
	
	@Subscribe(topics = "AddMarkers", eventType = AddMarkerPointsEvent.class)
	public void gotEvent(Event<AddMarkerPointsEvent> event) throws Exception {
//        System.out.println("Persistance:"+event.getSource().getStatusText());

    }
}
